package com.zs.blog.constant.enums;

/**
 * @Title: SQLConstant
 * @Author zs
 * @Package com.zs.blog.constant.enums
 * @Date 2025/3/23 21:06
 * @description: SQL常量类
 */
public class SQLConstant {

    public static final Integer MIN_ARTICLE_POSITION = 0;

    public static final Integer RANDOM_ARTICLE_COUNT = 5;

    public static final String SQL_LIMIT_1 = "limit 1";

    public static final Integer ARTICLE_STATE_PUBLIC = 0;

    public static final Integer ARTICLE_TOP = 1;

    public static final String MP_EXISTS_SELECT_UM_USER_IS_DELETED = "select is_deleted from um_user where is_deleted = 0";

    public static final String MP_EXISTS_SELECT_UM_USER_IS_DELETED_IS_DISABLED = "SELECT is_deleted, is_disabled FROM um_role WHERE is_deleted = 0 AND is_disabled = 0";
}
